#!/usr/bin/env python
# -*- coding: utf-8 -*-
from django.db import models
from models import Country

class CountryField(models.ForeignKey):
    def __init__(self, *args, **kwargs):
        kwargs['limit_choices_to'] = {'active':True}
        super(CountryField, self).__init__(Country, *args, **kwargs)
